public class Test2 {
    public static void main(String[] args) {
        Cuboid cuboidB = new Cuboid(2.5, 6.8, 8.0);
        cuboidB.setLength(4.6);

        double area = cuboidB.getArea();
        double cubage = cuboidB.getCubage();

        System.out.println("表面积为：" + area);
        System.out.println("体积为：" + cubage);
    }
}